import landedService from "@/serive/landedService";
export default {
    state: {
        registerPage:[]
    },
    getters: {
        getregisterPage(state){
            return[...state.getregisterPage]
        }
    },
    mutations: {
        setTest(state,data){
            console.log(data);
            state.registerPage=data
        }
    },
    actions: {//异步操作
        async registerPage({commit},{limit,page,reName}){
            let result=await landedService.registerPage(limit,page,reName);
            commit("setTest",result.data)
            return result
        }
    },
   
    // strict: debug
  }